﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CarFileUpload
/// </summary>
namespace CE.CarInsurance
{
    public class CarFileUpload
    {
        private Int64 _carid;
        private Int64 _providercompanyid;
        private string _insurancetype;
        private Int64 _agentid;
        private Int64 _deleteagentid;
        private string _docrefno;
        private Int32 _documentno;
        private Int64 _filetypeid;
        private string _filename;
        private string _originalname;
        private bool _status;
        private Int32 _totalfiles;

        public CarFileUpload()
        {
            ClearFields();
        }

        public Int64 CarId
        {
            get { return _carid; }
            set { _carid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string InsuranceType
        {
            get { return _insurancetype; }
            set { _insurancetype = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 DeleteAgentId
        {
            get { return _deleteagentid; }
            set { _deleteagentid = value; }
        }

        public string DocRefNo
        {
            get { return _docrefno; }
            set { _docrefno = value; }
        }

        public Int32 DocumentNo
        {
            get { return _documentno; }
            set { _documentno = value; }
        }

        public Int64 FileTypeId
        {
            get { return _filetypeid; }
            set { _filetypeid = value; }
        }

        public string FileName
        {
            get { return _filename; }
            set { _filename = value; }
        }

        public string OriginalName
        {
            get { return _originalname; }
            set { _originalname = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int32 TotalFiles
        {
            get { return _totalfiles; }
            set { _totalfiles = value; }
        }

        public void ClearFields()
        {
            _carid = 0;
            _providercompanyid = 0;
            _insurancetype = "";
            _agentid = 0;
            _deleteagentid = 0;
            _docrefno = "";
            _documentno = 0;
            _filetypeid = 0;
            _filename = "";
            _originalname = "";
            _status = false;
            _totalfiles = 0;
        }

    }
}